//
//  FujinCell.m
//  diaoyuren
//
//  Created by Cheng on 16/3/1.
//  Copyright © 2016年 game. All rights reserved.
//

#import "FujinCell.h"

#define cellHeight (SCREEN_HEIGHT*0.063)

@implementation FujinCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self= [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
   
        _lin = [[UILabel alloc]initWithFrame:CGRectMake(15, 40-0.5, SCREEN_WIDTH, 0.5)];
                _lin.backgroundColor = [UIColor lightGrayColor];
        [self.contentView addSubview:_lin];
    }

    return self;
}
-(UILabel *)text{
    if (!_text) {
        
        _text = [[UILabel alloc]initWithFrame:CGRectMake(15, 5, W(self.contentView)-15, 30)];
        
        _text.font =font(SCREEN_WIDTH*0.04);
        [self.contentView addSubview:_text];
    }

    return _text;
}


//-(UILabel *)lin{
//    if (!_lin) {
//        
//    }
//    return _lin;
//}
- (void)awakeFromNib {
    // Initialization code
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
